package cmo.neutech.day12.d4;

import java.util.Scanner;

public class character {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        int englishChars = 0;
        int digitChars = 0;

        for (char c : s.toCharArray()) {
            if (Character.isLetter(c)) {
                englishChars++;
            } else if (Character.isDigit(c)) {
                digitChars++;
            }
        }
        System.out.println("English characters: " + englishChars);
        System.out.println("Digit characters: " + digitChars);
    }
}
